const electionRulesSetting = resolve =>
  require(['common/src/views/thesisSelection/permissionSettings/electionRulesSetting'], resolve);//选题规则设置
const applicationTemplateList = resolve =>
  require(['common/src/views/thesisSelection/applicationTemplateManage/applicationTemplateList'], resolve);//模板列表
const schemeChapterView = resolve =>
  require(['common/src/views/thesisSelection/applicationTemplateManage/schemeChapterView'], resolve);//模板预览
const nameList = resolve =>
  require(['common/src/views/thesisSelection/nameListManage/nameList'], resolve);//名单管理列表
const nameListManageList = resolve =>
  require(['common/src/views/thesisSelection/nameListManage/nameListManageList'], resolve);//计划选题名单
const noPassNameList = resolve =>
  require(['common/src/views/thesisSelection/nameListManage/noPassNameList'], resolve);
const delayNameList = resolve =>
  require(['common/src/views/thesisSelection/nameListManage/delayNameList'], resolve);
const actualNameList = resolve =>
  require(['common/src/views/thesisSelection/nameListManage/actualNameList'], resolve);
const batchManage = resolve =>
  require(['common/src/views/thesisSelection/batchManage/batchManage'], resolve);//选题批次维护
const workApply = resolve =>
  require(['common/src/views/thesisSelection/workApply/workApply'], resolve);//论文选题工作申请
const approval = resolve =>
  require(['common/src/views/thesisSelection/workApply/Approval'], resolve);//选题审批
const wholeProcessDraw = resolve =>
  require(['common/src/views/thesisSelection/wholeProcessDraw/wholeProcessDraw'], resolve);//选题全过程画像
const resultInput = resolve =>
  require(['common/src/views/thesisSelection/resultInput/resultInput'], resolve);//选题成绩录入
const resultQuery = resolve =>
  require(['common/src/views/thesisSelection/resultQuery/resultQuery'], resolve);//选题结果查询
const electionTimeSetting = resolve =>
  require(['common/src/views/thesisSelection/permissionSettings/electionTimeSetting'], resolve);//选题时间设置

const essayTopicFinalVersionUpload = resolve =>
  require(['common/src/views/thesisSelection/finalFile/finalVersionUpload'], resolve); //论文选题最终版本上传
const essayTopicFinalVersionList = resolve =>
  require(['common/src/views/thesisSelection/finalFile/requireFinalFileList'], resolve); 

const layout = resolve => require(['common/src/views/layout'], resolve);

const thesisSelection = {
  path: '/thesisSelection',
  name: 'thesisSelection',
  component: layout,
  children: [
    {
      path: '/electionRulesSetting',
      name: 'electionRulesSetting',
      component: electionRulesSetting,
      meta: {
        nokeepalive: true
      }
    },
    {
      path: '/electionTimeSetting',
      name: 'electionTimeSetting',
      component: electionTimeSetting,
      meta: {
        nokeepalive: true
      }
    },
    {
      path: '/applicationTemplateList',
      name: 'applicationTemplateList',
      component: applicationTemplateList,
      meta: {
        nokeepalive: true
      }
    },
    {
      path: '/schemeChapterView',
      name: 'schemeChapterView',
      component: schemeChapterView,
      meta: {
        nokeepalive: true
      }
    },
    {
      path: '/nameList',
      name: 'nameList',
      component: nameList,
      meta: {
        nokeepalive: true
      }
    },
    {
      path: '/nameListManageList',
      name: 'nameListManageList',
      component: nameListManageList,
      meta: {
        nokeepalive: true
      }
    },
    {
      path: '/actualNameList',
      name: 'actualNameList',
      component: actualNameList,
      meta: {
        nokeepalive: true
      }
    },
    {
      path: '/delayNameList',
      name: 'delayNameList',
      component: delayNameList,
      meta: {
        nokeepalive: true
      }
    },
    {
      path: '/noPassNameList',
      name: 'noPassNameList',
      component: noPassNameList,
      meta: {
        nokeepalive: true
      }
    },
    {
      path: '/batchManage',
      name: 'batchManage',
      component: batchManage,
      meta: {
        nokeepalive: true
      }
    },
    {
      path: '/workApply',
      name: 'workApply',
      component: workApply,
      meta: {
        nokeepalive: true
      }
    },
    {
      path: '/approval',
      name: 'approval',
      component: approval,
      meta: {
        nokeepalive: true
      }
    },
    {
      path: '/wholeProcessDraw',
      name: 'wholeProcessDraw',
      component: wholeProcessDraw,
      meta: {
        nokeepalive: true
      }
    },
    {
      path: '/resultInput',
      name: 'resultInput',
      component: resultInput,
      meta: {
        nokeepalive: true
      }
    },
    {
      path: '/resultQuery',
      name: 'resultQuery',
      component: resultQuery,
      meta: {
        nokeepalive: true
      }
    },
    {
      path: '/essayTopicFinalVersionUpload',
      name: 'essayTopicFinalVersionUpload',
      component: essayTopicFinalVersionUpload,
      meta: {
        nokeepalive: true
      }
    },
    {
      path: '/essayTopicFinalVersionList',
      name: 'essayTopicFinalVersionList',
      component: essayTopicFinalVersionList,
      meta: {
        nokeepalive: true
      }
    }
  ]
}
export default thesisSelection;
